Notice: Trying to get property 'id' of non-object in /home/htdocs/groupio.app/src/Templates/Modules/User/User.phtml on line 15

Fatal error: Uncaught TypeError: Argument 1 passed to Sunrise\Models\User\User::__construct() must be of the type int, null given, called in /home/htdocs/groupio.app/src/Templates/Modules/User/User.phtml on line 15 and defined in /home/htdocs/groupio.app/src/Models/User/User.php:28 Stack trace: #0 /home/htdocs/groupio.app/src/Templates/Modules/User/User.phtml(15): Sunrise\Models\User\User->__construct() #1 /home/htdocs/groupio.app/src/Core/System/Template/SysTemplate.php(203): require('/home/htdocs/gr...') #2 /home/htdocs/groupio.app/src/Actions/User.php(43): Sunrise\Core\System\Template\SysTemplate->display() #3 /home/htdocs/groupio.app/src/Html/index.php(50): Sunrise\Actions\User->render() #4 {main} thrown in /home/htdocs/groupio.app/src/Models/User/User.php on line 28